
import requests
import re
import random
import time
from bs4 import BeautifulSoup
import logging

web_data = requests.get("http://www.tmtpost.com/nictation/1")
soup = BeautifulSoup(web_data.text, 'lxml')
li = soup.find("li",attrs={"class":"page-rl"})
print(li)